package com.mingte.manghe.support.dao;

import java.util.List;
import java.util.Map;

public interface BaseMapper<T> {

    T queryObject(Long id);

    List<T> queryList(Object[]...objects);

    int queryTotal(Map<String, Object> map);

    int save(T t);

    int update(T t);

    int delete(Long id);

    int deleteBatch(Long[] ids);

}
